let pm = new Promise(res => {
  res("ok");
});
let fn = async () => {
  console.log(await pm);
};
fn();
